package com.iursp.service.role;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iursp.domain.model.role.AuthPlatform;
import com.iursp.mapper.role.PlatformMapper;

@Service
public class PlatformService {
	
	@Autowired
	private PlatformMapper platformMapper;

	public List<AuthPlatform> queryInnerPlatform() {
		return platformMapper.queryInnerPlatform();
	}

	public AuthPlatform selectByPrimaryKey(String key) {
		AuthPlatform platform = platformMapper.selectByPrimaryKey(key);
		return platform;
	}
	
	
}
